package com.mall.huohuo.service.address.service;

import com.mall.huohuo.service.address.domain.MemberAddress;

/**
 * @author zyconding
 * @version MemberAddressOperateService.java, v 0.1 2020-09-14 22:12 zyconding
 */
public interface MemberAddressOperateService {

    /**
     * 新增收货地址
     * @param memberAddress 收货地址
     * @param memberId 用户id
     * @return 新增的结果
     */
    Boolean saveMemberAddress(Long memberId,MemberAddress memberAddress);

    /**
     * 更新收货地址
     * @param memberId 用户id
     * @param memberAddress 收货地址
     * @return 更新结果
     */
    Boolean updateMemberAddress(Long memberId,MemberAddress memberAddress);
}
